import 'package:flutter/material.dart';

class ErrorPage extends StatefulWidget {
  @override
  _ErrorPageState createState() => _ErrorPageState();
}

class _ErrorPageState extends State<ErrorPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: Text("404")),
        body: Center(
            child: FlatButton(
          onPressed: () {},
          child: Text('找不到对应的页面', style: TextStyle(color: Colors.red)),
        )));
  }
}
